import { createStore } from "vuex";
import auth from "./modules/auth";
import loading from "./modules/loading";

export interface StateType {
    auth: { user: object; permissions: object };
    loading: { loading: object };
    layout: { siderOpen: any; menu: any; item: any };
}

export default createStore({
    modules: {
        auth,
        loading,
    },
});
